const monsterNames = `anubis.png, cobra.png, deku-tree.png, dolphin.png, double-dragon.png, dragonfly.png, duck.png,elephant.png, fairy.png, fish-monster.png, flying-trout.png, frankenstein-creature.png, frog.png,gargoyle.png, gecko.png, ghost.png, giant-squid.png, gold-scarab.png, greek-sphinx.png,griffin-symbol.png, grim-reaper.png, medusa-head.png, mermaid.png, minotaur.png, moai.png, octopus.png,pirate-captain.png, polar-bear.png, sad-crab.png, scorpion.png, shambling-zombie.png, snowman.png,spartan-helmet.png, spartan.png, sperm-whale.png, spider-alt.png, tiger-head.png, turtle.png,unicorn.png, vampire-dracula.png, witch-face.png, wolf-head.png, wyvern`.replace(/, ?/g, "").split('.png');
// 43种怪物
const monsterTips = [
	["阿努比斯", "血防蓝"],
	["眼镜蛇", "命暴"],
	["树人长老", "血防"],
	["海豚", "蓝命运"],
	["双头龙", "攻速暴"],
	["蜻蜓", "攻速"],
	["鸭子", "血速运"],
	["大象", "血防"],
	["妖精", "蓝"],
	["鱼人", "命"],
	["飞鱼", "速"],
	["弗兰肯斯坦", "血防攻"],
	["青蛙", "运"],
	["石像鬼", "防"],
	["壁虎", "血速"],
	["幽灵", "蓝速运"],
	["墨鱼", "蓝"],
	["金甲虫", "防运"],
	["狮身人", "血防速"],
	["狮鹫", "攻速暴"],
	["死神", "攻速暴"],
	["美杜莎", "蓝速暴"],
	["美人鱼", "蓝速"],
	["牛头人", "血防"],
	["大头", "血防"],
	["章鱼", "蓝运"],
	["海盗船长", "速命暴"],
	["北极熊", "血防"],
	["螃蟹", "命暴"],
	["蝎子", "暴"],
	["丧尸", "攻"],
	["雪人", "防"],
	["斯巴达首领", "攻防"],
	["斯巴达", "攻"],
	["鲸鱼", "血防"],
	["蜘蛛", "速"],
	["老虎", "攻"],
	["乌龟", "防"],
	["独角兽", "攻速运"],
	["吸血伯爵", "蓝攻速"],
	["老巫婆", "蓝暴"],
	["狼", "攻速"],
	["巨龙", "攻速运暴"],
]
// 基本属性 a[]
// 被捕抓后的各项属性修正率 0.5 b[]
// 战后英雄获得的基础经验 e
// 特殊效果 func
const monsterData = [

]
const monsterLevel = [
	[1, 2, 3, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 17, 27, 28, 29, 31, 35, 36, 37],
	[4, 11, 13, 18, 22, 23, 24, 25, 26, 30, 32, 33, 34, 38, 41],
	[0, 19, 20, 21, 39, 40, 42]
]
function initMonster() {
	// 测试 全部怪物属性一样，捕获修正率一样,战后获得20经验
	for (let i = 0; i < 3; i++) {
		for (let j = 0; j < monsterLevel[i].length; j++) {
			const m = monsterLevel[i][j]
			const obj = {
				"a": [50 + i * 10, 30 + i * 5, 30 + i * 3, 20 + i * 3, 20 + i * 3, 10 + i * 3, 10 + i * 3, 10 + i * 3],
				"b": [0.8, 0.6, 0.5, 0.5, 0.4, 0.4, 0.4, 0.4],
				"e": 30 + i * 20
			}
			monsterData[m] = JSON.parse(JSON.stringify(obj));
		}
	}
}
initMonster();